Ext.define('School.view.school.TabPanel', {
    extend: 'Ext.tab.Panel',

//    requires: [
//        'School.view.school.Info',
//        'School.view.score.List',
//        'School.view.feature.List'
//    ],

    id: 'schollTabPanel',

    config: {
        items: [
            {
                id: 'legislatorToolbar',
                docked: 'top',
                xtype: 'toolbar',
                items: [
                    {
                        xtype: 'button',
                        text: 'Back',
                        ui: 'back',
                        id: 'schollBackButton'
                    }
                ]
            },
            { title: '学校概况', xclass: 'School.view.school.Info' },
            { title: '历年分数', xclass: 'School.view.score.List' },
            { title: '学校特色', xclass: 'School.view.feature.List' }
        ]
    }
});
